package org.aceor.mddal.gateway.merger.function;

import org.aceor.mddal.gateway.datatype.DataType;

/**
 * Created by lxue on 16/4/17.
 */
public abstract class AbstractAggregateFunction implements AggregateFunction {

    protected DataType returnDataType;
    protected Object value;

    public AbstractAggregateFunction(DataType returnDataType) {
        this.returnDataType = returnDataType;
    }

    @Override
    public Object getResult() {
        return value;
    }
}
